<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta name="keywords" content="quick action, command bar, menu command"/>
	<link rel="stylesheet" href="../../Shared/sty/standard.css"/>
	<script defer src="../../Shared/js/toc.js"></script>
	
	<title>Perform action by typing in CotEditor on Mac</title>
</head>

<body>

<h1>Perform action by typing in CotEditor on Mac</h1>

<p>With the Quick Action feature, you can perform menu commands just by typing few keys on your keyboard.</p>

<figure>
	<img srcset="../gfx/quickActionBar@2x.png 2x" width="460" alt="Screenshot of the Quick Action bar"/>
</figure>


<section>
<ol>
	<li><p>Go to the CotEditor app <img class="appicon" srcset="../../Shared/gfx/icon_32x32@2x.png 2x" alt=""/> on your Mac.</p></li>
	
	<li><p>Launch the command bar either by choosing View &gt; Show Quick Actions or by pressing <kbd>Command</kbd>-<kbd>K</kbd>.</p></li>
	
	<li><p>Type characters into the command bar. Then, the matched actions are shown incrementally below the field.</p>
		<p>It matches the menu commands having all the typed characters in the order in the intermediate submenus and its title.</p>
	</li>
	
	<li><p>Select the action to perform in the list by pressing the <kbd aria-label="down arrow">↓</kbd> or <kbd aria-label="up arrow">↑</kbd> key.</p></li>
	
	<li><p>Press the <kbd>Return</kbd> key to perform the selected action.</p>
		<p>To close the command bar without taking any action, do one of the following:</p>
		<ul>
			<li><p>Press <kbd>Command</kbd>-<kbd>K</kbd> (again).</p></li>
			<li><p>Press <kbd>Esc</kbd>.</p></li>
			<li><p>Press <kbd>Command</kbd>-<kbd area-label="period">Period (.)</kbd>.</p></li>
			<li><p>Press <kbd>Return</kbd> while no action candidates are shown.</p></li>
			<li><p>Click somewhere outside of the command bar.</p></li>
		</ul>
	</li>
</ol>
</section>

</body>
</html>
